class DragData {
  constructor() {
    this.data = {}
  }

  setData(key, val) {
    this.data[key] = val
  }

  getData(key) {
    return this.data[key]
  }

  clear() {
    this.data = {}
  }
}

export default new DragData()
